package com.github.phoenics.militia.bazookaFx.model;

import javafx.beans.property.*;

import java.util.Date;

/**
 * @author Phoenics Chow
 * on 2019年02月08日
 */
public class SchemaTablesViewModel implements IModel{
    private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(SchemaTablesViewModel.class);
    private StringProperty tableSchema=new SimpleStringProperty();
    private StringProperty tableType=new SimpleStringProperty();
    private StringProperty tableName=new SimpleStringProperty();
    private StringProperty tableComment=new SimpleStringProperty();
    private StringProperty createTime=new SimpleStringProperty();
    private StringProperty updateTime=new SimpleStringProperty();

    @Override
    public void clear() {

    }

    public String getTableSchema() {
        return tableSchema.get();
    }

    public StringProperty tableSchemaProperty() {
        return tableSchema;
    }

    public void setTableSchema(String tableSchema) {
        this.tableSchema.set(tableSchema);
    }

    public String getTableType() {
        return tableType.get();
    }

    public StringProperty tableTypeProperty() {
        return tableType;
    }

    public void setTableType(String tableType) {
        this.tableType.set(tableType);
    }

    public String getTableName() {
        return tableName.get();
    }

    public StringProperty tableNameProperty() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName.set(tableName);
    }

    public String getTableComment() {
        return tableComment.get();
    }

    public StringProperty tableCommentProperty() {
        return tableComment;
    }

    public void setTableComment(String tableComment) {
        this.tableComment.set(tableComment);
    }


    public String getCreateTime() {
        return createTime.get();
    }

    public StringProperty createTimeProperty() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime.set(createTime);
    }

    public String getUpdateTime() {
        return updateTime.get();
    }

    public StringProperty updateTimeProperty() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime.set(updateTime);
    }
}
